package com.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pojo.User;

import java.util.List;

public interface UserMapper extends BaseMapper {

    List<User> queryAll();

    int add(User user);

    int del(Integer id);

    int update(User user);

    User queryOne(Integer id);
}
